Parameters
- data
- An object array with the data to store in this instance.
create type address as (street varchar(30), streetnumber integer);
create type person as (firstname varchar(20), lastname varchar(20), home address);
// // Create an instance that can be used with the address user defined type // MimerUserDefinedType myaddr = new MimerUserDefinedType(new object[] {"memory lane", 34}); MimerParameter par2 = new MimerParameter(); par2.Value = myaddr; // // Create an instance that can be used with the person user defined type. In this // case there is a nested instance of the address user defined type // MimerUserDefinedType vip = new MimerUserDefinedType(new object[] { "Gregory", "Sandham", new MimerUserDefinedType(new object[] {"memory lane", 34}) }); MimerParameter par2 = new MimerParameter(); par2.Value = vip;
.NET Framework
Version 2.0 or later